From f5f061b681ba29850ca7b1905ae584d66da97ddf Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Tue, 17 Apr 2012 08:30:27 +0100 Subject: [PATCH] fix build error when enabling lock profile Signed-off-by: Yang Zhang Committed-by: Keir Fraser --- xen/common/sysctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c index 0cbebb16d8..ea6827886a 100644 --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -156,7 +156,6 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl) if ( ret ) break; - ret = perfc_control(&op->u.perfc_op); ret = spinlock_profile_control(&op->u.lockprof_op); if ( copy_to_guest(u_sysctl, op, 1) ) ret = -EFAULT; -- 2.30.2